Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Editing Movies / Editing Tracks


GetTrackEditRate

The GetTrackEditRate function returns the rate of the track edit of a specified track at an indicated time.

pascal Fixed GetTrackEditRate (Track theTrack, TimeValue atTime);
theTrack
Specifies the track identifier for which the rate of a track edit (at the time given in the atTime parameter) is to be determined.
atTime
Indicates a time value at which the rate of a track edit (of a track identified in the parameter theTrack) is to be determined.
DESCRIPTION
If an invalid time or track is passed, the returned value is 0.0. The track edit rate is typically 1.0, unless either the ScaleMovieSegment or ScaleTrackSegment function has been called. (For more on the ScaleMovieSegment and ScaleTrackSegment functions, see page 2-244 and page 2-250, respectively.)

The GetTrackEditRate function is relevant if you are stepping through track edits directly in your application or if you are a client of the base media handler. (See Inside Macintosh: QuickTime Components for details on media handlers.)


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996